package com.recharge.core.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 供应商
 * </p>
 *
 * @author reagan
 * @since 2020-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_provider")
public class ProviderEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 供应商名称
     */
    private String providerName;

    /**
     * 供应商编号
     */
    private String providerNo;

    private String privateKey;

    private String callback;

    private String password;

    /**
     * 电话
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String telephone;

    /**
     * 联系人
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String contact;

    /**
     * 邮件
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String eMail;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 限价类型
     */
    private Integer limitedPriceType;

    /**
     * 阈值
     */
    private Integer threshold;

    /**
     * 警告金额
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal warnAmountt;

    private Date createDate;

    private Date modifiDate;

    private String creator;

    private String modifier;

    /**
     * 0.停用 1.正常\n            \n            \n            
     */
    private Integer status;

    /**
     * -1 删除 1 有效\n            
     */
    private Integer isDelete;


}
